fix link/include paths
NEWS
1.0.1
when building with -Wl,--no-undefined linker option