Fix line numbers when using sourcemaps

Fixes #21