Condition added to fix lockfile error on Ubuntu 13.10