Minot library linking changes in helloworld. Adapted from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605889