Fix broken configure on non-apple