re-add extern Lock_open. refs #1729