add workaround for node.lsb on non-linux platforms