Decompose Function VS2010 Templating Issues

VS2010 seems to get confused when compiling matrix_decompose.inl because all the calls to v3Scale have an argument of 1.0, which is of ambiguous type. I replaced it with a static_cast<T>(1) as that is what's used further on in the code and it now compiles. Additionally, the conversion from vec4 to vec3 (for getting the scale and shear) doesn't seem to play nicely either, copying the first three values of the vector manually via a for loop seems to fix it.