autoconf & makefile setup for unit tests