Updated to latest tox version.

Code compiles, but some things still need fixing.

I added fpermissive to CXX_FLAGS because code from core wouldn't compile without it.