Fix Linux functions.