Implemented assert in Windows