Library type was changed to `dylib` as workaround for this problem: https://github.com/rust-lang/rust/issues/39445. Changed in #42.