Fix bug #13352

Successfully tested on Ubuntu Precise Pangolin 32bit.

(see: http://projects.puppetlabs.com/issues/13352)