cmake for sqlite and postgresql unit tests