Add compilation for Windows with MSVC10.
switch back to older kernel with more register usage but faster compute