Fix problems with compiler setting when building ccRTP dependen code

Report from Jan Engelhardt.