Restrict microphone code to Linux and WindowGL

MacOS build was failing and I've no idea what would be needed to sort it out.