fix compile on windows w/ > 2012
extra string handling for matlab 2014b
Merge branch 'master' of https://github.com/RobotLocomotion/cmake