mcs-lock: add trivial driver, link with build system