add compatibility for randexp (Julia PR #9144)
Merge pull request #21 from JuliaLang/rf/randexp

add compatibility for randexp (Julia PR #9144)