compile for production