Remove unused code on Linux