Changed imports to be target OS dependent... though there is probably a better way to determine import type to use