fixed linking #952

ugh bson why