Update build configurations for Mesa