Improve compatibility with some broken GCCs.

Apparently GCC in Ubuntu 12.04 is somewhat picky about the argument
order.