Honour all non-default CMake generator choices.

Was only honouring a non-default choice of generator if it was a flavour of MSVC.  Fixes #42.
Merge pull request #44 from alamaison/issue-42

Honour all non-default CMake generator choices.