In case anybody experiences the same problem as me:
What I did was to change the used library. Because I deploy he project on a platform which does not support win32 libraries, I had to include the source files of the library.
Also, in the Code Generation: I set as make command:
make_rti LNK_OPTS="-QmsA0314"
At last, do not forget to include all the libraries and any source files in: Code Generation/Custom Code/
These were enough to get my project running (although a major overhaul).