fixed build flags. Thanks Paul! LOTS OF WARNINGS TO FIX