Rakefile: fix two erronous dependencies.
extconf: use have_library() in extconf, and try to link with lpsolve55_pic before lpsolve55.