Fixing bug in YCM library detection