Prepare for build