chmod 775 for build_detect_platform