scripts: Remove workarounds needed to support Ubuntu Precise

Fixes issue #484