forked stdlib from puppetlabs