cmake fix for windows