fix library search path. use vendored library instead of library.