Removing build dir and cleaning up config.