Remove extra directories, add temporary dirs to .gitignore.
Remove temporary directories.
Recompile production version.