ensure gen-exe exists for building
adjust flags