VS2008 now compiles linmath.h

Minor tweaks to compile without errors and warnings in VS2008.