s/sleep/Sleep/ for Windows in manager.cpp.