made it compilable under Windows