Small fix to make work on MinGW