fixes #91

the source of the issue was the difference of file structure between normal and library use