Fixed linked libraries to be the last argument of CC command.
Merge pull request #1 from filipkofron/master

Fixed linked libraries to be the last argument of CC command.