improve gcc detection in osx_port, fix #2317