missing . before dlext
Julia 0.3 compatibility
fix Python 2.6 compatibility