Fix an infinite loop on linux if the engine executable path is more than 64 char