use ld so that the linking works properly on all systems (gcc you drive me crazy), and update the readme to tell users to use ldconfig