Set cmake min. version to 2.8.10 (except on Mac).

This is a partial reversion of 8907c0f442fbff57711135a66220b0bcb870a506.
2.8.10 was chosen after build tests on Debian and Ubuntu.