BUGFIX: Removed extraneous "I" in path to gtest, and duplicated call to generate_static_library

This was causing builds to fail if re-using pre-built nupic.core.

cc @chetan51