Fix MAXCOMPILER_BUILD_DIR issue