Fix buildIf type signature
Another forgotten export