Uses relative path to SDK in vs2012.

And fixed some bugs.