Fix some private type export warnings
auto merge of #2303 : Manishearth/servo/privtype, r=jdm