I don't believe there is any harm in including NUPIC_INSTALL in the modified path, but this does change the ordering a bit.  In the previous line, NUPIC_INSTALL is temporarily explicitly placed at the beginning of the path.  With this change, NUPIC_INSTALL is permanently appended to the path.  I'm not sure yet what the implications are.