[xinyu] compile with mac