paths were not being loaded when ndm was used as library dependency

TODO: add tests to this before merging.