Fixed bug when testing the lib in Linux systems