using platform.js to detect proper platform os family so that windows specific routines do not kick for darwin