compile fixes related to Tokutek/mongo#424 and Tokutek/mongo#93