pothos-library: minor tweaks for dealing with dtype