test/lib: build with -DEBUG