cleanup build errors

Signed-off-by: Sam Kleinman <samk@10gen.com>