set SDKDIR when using VS10

also change glob to Program*Files* to include "Program Files (x86)"
Merge pull request #8 from aldafu/fix-linking-on-win

set SDKDIR when using VS10