fixed build for VS and mingw