Merge "Simpleperf: support build on mac."