build refactor for ubuntu click app package