The problem is that VCDIR is combined with more text in the CC definition, and then the quotes inside the value cause trouble when passing CC=$(CC) as command line argument to make in the invocation for zlib.