Fixed issue #577 for VS 2013 and 2012
Merge pull request #586 from blackberry/next-577

Next 577