fixing a small bug that caused warnings during the compillation on a windows machine