add support for library directory
update .podspec