Change BSON configuration type to static library