Removes unnecessary dependency on platform npm module

@corneverbruggen Can you verify this on Mac OS X?