fixed colex using reserved 'export' keyword from mingw-gcc