Generate build time and date message at link time

The code is based on top top the Makefile changes done for issue #11.