build: Convert faad detection to new macros.