Cleanup build procedure