types - minor change to add support for more platforms