Make it compile with XMake