setting +x on build_detect_platform