Add compatibility with Ubuntu 12.10
fixup package installation through pip
remove bogus apache class