Fixed path issue for API lib.