Remove warnings and -Wno-type-limits option since it is not always supported.