Fix undefined symbol errors

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Merge pull request #55 from ceph/wip-undefined

Reviewed-by: Sage Weil <sage.weil@inktank.com>