Ticket #667: fixes for cross-compiler and static security data set in demo server
Code merged on master for #667 (closed) lead cross-compilation and demo server with static security data compilation to fail. See: https://gitlab.com/systerel/S2OPC/-/jobs/317990098 and https://gitlab.com/systerel/S2OPC/-/jobs/317991942.
This MR fixes those 2 problems. See: https://gitlab.com/systerel/S2OPC/pipelines/88143471 and https://gitlab.com/systerel/S2OPC/pipelines/88144310