Compile and remove dev code