beremiz

automatically detect flags supported by matiec and find correct path
for matiec C library files

This makes possible to use an old matiec and the new one.
<?xml version="1.0" encoding="UTF-8"?>
<BaseParams Name="svgui" IEC_Channel="0"/>