Fix duplicate symbol errors for C++14 in type library [6/N]
Fix duplicate symbol errors for C++14 in type library [6/N]

Summary: The previous version was getting duplicate symbol error in C++14. Change to old fashion std::true_type, std::false_type, and folly::bool_constant.

Reviewed By: Alfus

Differential Revision: D35668900

fbshipit-source-id: 8a4768821597ceda121baf2dc99df688f0398f4b

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift