Build with Vala 0.22.1 (ASCII string binding issue): Bug #739470

ASCII strup/strdown not bound in Vala 0.22 or 0.24, so need to use
externs to import those symbols until Vala 0.26 is the minimum
requirement.