KEEP_BUILD_DIR is now honored

bugfix to honor KEEP_BUILD_DIR