Project fixes

* Set the _WIN32_WINNT define with the same value as the WINVER define
* Add missing dependencies for unit_test
* Avoid _USE_MATH_DEFINES macro redefinition warning in libssf