Make --enable-profile work (subject to the compiler's limits).