fix compilation for Indigo/Trusty