Add required libs, change lib dir from components/ to lib/