Turned into 2 projects, one for the lib and one for testing

May involve changing project settings to not link to dlls. I don't know
why CMake is trying to do that.