change BUILD_DIR from relative path to absolute one