Fixed issue #250 for VS 2012 and 2013.
Merge pull request #584 from blackberry/next-250

Fixed issue #250 for VS 2012 and 2013.