fix cmake policy warnings

This fixes the windows cmake warnings properly

Details here:
* https://gitorious.org/kitware/vtk/commit/96bc743f77c307abb9c07359eae8333ff7324eb6
* http://qt-project.org/forums/viewthread/36447

closes #2239