Add debug information to object files

Change-Id: I11cfaea94358a4ed26470bccd6689768e790ff64
Reviewed-on: http://review.couchbase.org/29263
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>