Update build process for compile and test