Hmm. Does it still hang if you don't link to libboost_filesystem, but manually add the sources from libs/filesystem/src to your program? 

No it doesn't hang anymore... I'm now curious now about what you have in mind. Some difference in compiler options?