Strip out OS specific functions