Some Linux compile fixes