Fixed configure with old cmake