Change BSON configuration type to static library

As suggested by Majin on the forums.