VS2010 build: Static pthreads compiling and linking.