More robust and customizable build system