setup build environment