It seems that in some situations, the host CC gets picked up. Just pass the target one explicitly. Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>