Fixed Linux compile issues