fix linux releated compiler issues