Fixed stupid inversion for build_only mode.