Make elmer_forward_init portable