Change settings for the compilation

With the changes, the executable "robot" is not dynamic with others libraries (ex: libextras.so).

It's needed for the generation of the linux image with the robot software. (Yocto)