reapply ubunto compatability fix, re-closes #219