Fixed linux build, added rpath and runpath for tests. Removed improper constexpr for dll.