Fix #1540 : Unable to start scheduler on Windows platform