Remove unused functions from the Linux build