removes all warnings in gcc builds under ubuntu