More workarounds for ubuntu 12.04 including urllib