Fix some types to please OTP 17.0
Add OTP 17.0 support for Travis