Fix script exiting with error when NO_CONFIGURE was set.