Revert "Makefile: fix compile error"

This reverts commit 2598dc53fdc0bb64c934e5ffe93ddcf8d7c0a23b.

(cherry picked from commit 09cea018c75ea4fa0b277664e2c2b4d6246eb4c6)