Build system guts