Tests fail on some platforms without ios:binary for IO
Add #ifdef protection block so file is only included once
remove using namespace std as it breaks MSVC compilation
Update cmake build and testing to handle recent changes
Merge pull request #13 from jsmeredith/master_cmake

CMake compilation and MSVC updates