Change VS project to DLL and remove unit tests from it
Move warning suppression from project to header file

At some point I must have tried this, fogetting to move it to core.hxx.