Remove dependency on sudo if the platform is unknown