Removed useless build depends and modulize building application