Work around weird bug in vc++ 2010

log(2) gives an error about ambiguous overload instead of silently
promoting the argument to double
added visual studio 2010 project files