Added Linux support for mlockall/munlockall