Fixes #43 cross scala compilation.