corrected build system