Fixed configure for 2.5