remove assert not compiling on windows