Minoe library linking changes in build examples. Adapted from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605889
Fixed problem building under Mint.