FIX: order of sources and libraries matters
Merge pull request #4 from Gawen/master

FIX: order of sources and libraries matters