Windows compatibility fixes

* cmake: use CMake's internal variables for compiler info
* volk: void* can't be used for pointer arithmetic in MSVC, so cast
Merge branch 'maint'
Merge branch 'master' into next
volk: use the explicit casting for all OSes, not just MSVC.
Merge branch 'maint'
Merge branch 'master' into next