test: fix build of external memory test