Changed permissions on build_detect_platform