Changed target to static library (because of runtime loading problems in pcGUI)