Update lite to remove direct libtest:: call. Also modified compiler flags to not use certain flags when compiling with mingw.