Small fixes for linux in the new driver.