Compile dev and test environments back to tmp directory