JCBC-216 Add BuildInfo on compile.

This changeset adds the proper compilation of the BuildInfo class.

Change-Id: I63308b7605f5aaa690a2b96fe7db97f1d5e28500
Reviewed-on: http://review.couchbase.org/24048
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Reviewed-by: Deepti Dawar <deepti.dawar@globallogic.com>