Fix GCC linker options order

GCC 4.6 has become fussier about the order of its options.
The -l options must now appear after the object files.

Without this patch, I have a GGC error when compiling a
custom project with gec:

 epm1.o: In function `T163f16':
 epm1.c:(.text+0xa9f): undefined reference to `pow'
 epm1.c:(.text+0xad4): undefined reference to `pow'

Tested on Ubuntu 12.04 LTS with GCC 4.6.3.

Links :
* http://nick.zoic.org/art/etc/gcc-linker-libs.html
* http://ubuntuforums.org/showthread.php?p=11339484
Synchronized with FreeELKS svn#711, except for the string and file classes.
Merge pull request #5 from oligot/gcc-link

Fix GCC linker options order