Added link directories in cmake file.