Use the TARGET variable to build and install mongo-cxx-driver

1. Use the TARGET variable passed in by the top level platform-deps Makefile to build and install mongo-cxx-driver.
Depends upon:
https://github.com/datacratic/platform-deps/pull/2

2. Git should ignore temporary files generated during the build process.