InternalLink.cpp, gcImageControl.cpp: two little Linux fixes

During compilation of program on Linux, we found some issues. This pull request provide fixes for two of them.
The rest is more complicated and still waits for proper solution (program still do not compile fully on Linux).