Fix less autodetection.