Removed warnings and added Werror to build params