import=bad, include=good

also cleared up a few other warnings and set the appropriate compiler
flags