Fix the script on raspberry pi (and probably other arm platforms). Thanks to Markus Packeiser for the help