The $(shell ...) processing was losing some quoting in $(HC_OPTS), so hack around it using $(patsubst ...) instead.