Fix compiling issue on Mac

libc++ do not agree with wxMac.