Removed dependency on Boost; removed useless dllmain.cpp files