Check for lesskey before trying to call it