Fix check with autotool