Remove LOCK_EX flag as of error on some systems