SunOS/Solaris support

re: numenta/nupic#918

This also adds the option for specifying the `make` command used to build nupic.core, for example to use gmake:

`cmake -DUSER_MAKE_COMMAND=gmake ...`

Aside from reordering some compiler arguments, this doesn't affect non-solaris builds.