app.nit: exit and print an error if not bound to a platform