Operating system command (in miscfun.c) has been updated

It now uses the code from the just removed overriding function in OSDetection.c