Added warnings back, they do apply
Added attempt at static linking on linux