RTD compile issue