fixed missing MAIN_PACKAGE_PATH