Now the wifi is compiled also as static library (simple way to be used by the GUI)