Daamn... I've been building it with clang for the past hour (I dunno why the heck this taking soooo long, I think on Linux it builds much faster). I guess it won't work for me either :(
upd: Looks like the proper way of building is with gcc, but it builds without GUI. I need GUI.