Make it build on VS2013

As is, Regal will not build on Visual Studio 2013 due to several changes, this appears to fix the compilation issues and the tests pass. During compilation I am getting the message "Unknown compiler version - please run the configure tests and report the results" but I am not quite sure what I am supposed to do with it.