Fix for Windows systems

Actually I should've just pushed to master instead of opening another PR. Oh well..