fixed os-dependant call to perl