Add flag for building proprietary codec

Change-Id: I69dd5b913d8c0fa0fc9faac4968276cde772ca27