Makefile tests the host system, not what it compiles to. Override. Signed-off-by: Rosen Penev <rosenp@gmail.com>