pothos: minor tweaks to build work