maybe wrap these in a linux-specific ifdef instead?