allow Ptr{Int8} to work with ByteString, since it might be Ptr{Cchar}. closes #2603
fix #2899, regression
Removed dual.jl
Removed dual.jl