Replace lock file with Mutex for Apache 2.4