Fix warning
No locking and threads for windows