app/test: fix build switches to enable cmdline tests