merge in the remaining part of the linux-specific glue so i do not need to maintain two different distributions.