Setup build environment