Added cmake check for $NTA == $NUPIC.
Removed unecesary macro and inlined the logic.
Merge pull request #685 from numenta/nta-nupic-env-check

Added cmake check for $NTA == $NUPIC.