Use __typeof__ instead of GCC-specific typeof keyword.