fixed some compiler problems MSVC vs GCC