configure: Simplify VDA header and extralibs check