Added x64 VS config and fixed errors.