compile a production version