I don't think we should be exporting anything in the build script.  We do environment setup in env.sh and NUPIC_INSTALL was explicitly created as a temporary variable (I know that because I added it).

Is there a reason it needs to be exported?