workaround for AllowAmbiguousTypes
Changed to compile examples on Travis