Add cross compiling to travis file.
Add workaround for COMMON_LVB_REVERSE_VIDEO not being defined on mingw32.