mcs-queue: modifications for compiling