Add -Wno-unused-typedefs support