Merge pull request #1 from tribal-tec/master

Update of CMake subtree to fix build for CMake < 2.8.8
Fix Win32 exports