Set stack size to 10 MB for cmake version greater than 2.8.11