Dear Yao,
sorry I missed that you are using Homebrew.
The issue is the alias you set is it not used by the makefile.
You could try to create a symbolic link instead. See: https://apple.stackexchange.com/questions/245891/installed-gcc-with-homebrew-now-how-to-use-that-gcc-instead-of-clang
Cheers,
David