Turn off optimazation in vs2013
Merge pull request #4299 from daniel229/patch_01

Turn off optimazation in amctrl.c when using vs2013 as it does not work correct.