Update to work with julia version 0.2

This fixes #1.