Add warning when BUILD_PACKAGE incorrect