clock: fix includes on osx 10.6.8.
build: use libtool from variable.