buildtools/wafsamba: inline defines during configure into the tests