Unix: fix build warnings when NOSOUND is set