jvm common expects BUILD_DIR var in uppercase