fixed win32 namespace encapsulation
simplified cmake
improved spec