[2/2] build: Add mediatek compatibility

Change-Id: I0b3eb50cbc3c8018041cc9c5281d5043503ec1eb