[include] cmake.mk: fix passing of LDFLAGS