Working visual studio build for lib and tests