removes all warnings in gcc builds under ubuntu
builds links on linux ubuntu
Merge pull request #3 from tjizep/master

merge upstream