Example how to properly compile sources conditionally using autotools