fix broken import when using lib in autoload dir

Relevant to #2