more robust extconf