add some linux related improvements