Update build rules.