improve compilation on precise v3