I've used the Window's library <windows.h>, so meaby there are some compatibility trouble with MAC