Fix building static libs with ICC on Windows