make build_detect_platform executable

Made build_detect_platform script executable.