Fix rake tasks for linux