extconf: take out functions