current mingw actually calls libpthread libpthread
make -fvisibility=hidden be controlled by ./waf configure --exports-hidden