fixed compile and runtime errors on MSVC
removed unused SOIL.[ch]