Add rm flag to build command