Moved math include to after common which is where config.h is included. config.h...