Finally fix the old ALTERNATIVES bug in gcc47