Various compatibility fixes for Julia 0.2
Merge pull request #1 from EconForge/master

Various compatibility fixes for Julia 0.2