Revert "More workarounds for ubuntu 12.04 including urllib"

This reverts commit c36b809b02af22e6c8d74fb0338fdd4b92c1ae9a.
Revert ubuntu 12.04 fixes