Adding windows support to cmake file