Fixed compiler error on Windows