Some patches for linux