[Linux] Fix compiler errors