Cmake is smarter than I thought: got rid of link_directories directives