Fix compilation attributes.