Update cmake to use LINK_DIRECTORIES

Thanks shinigami chan!