fix linker flag
Merge pull request #1 from flatworld/warnings

Clear warnings