cmake: disable some msvc warnings

Signed-off-by: Tim Blechmann <tim@klingt.org>
Merge pull request #1074 from timblechmann/topic/silence_warnings

cmake: disable some msvc warnings