LINK_DIRECTORIES causes build to fail (attempting to use libraries as directories)