cmake: determine list of extra built-ins dynamically