diff --git a/sdl2-ttf.cabal b/sdl2-ttf.cabal
--- a/sdl2-ttf.cabal
+++ b/sdl2-ttf.cabal
@@ -1,5 +1,5 @@
 name:          sdl2-ttf
-version:       2.0.1
+version:       2.0.2
 synopsis:      Bindings to SDL2_ttf.
 description:   Haskell bindings to SDL2_ttf C++ library <http://www.libsdl.org/projects/SDL_ttf/>.
 bug-reports:   https://github.com/haskell-game/sdl2-ttf/issues
@@ -40,7 +40,7 @@
     cbits/helpers.c
 
   build-depends:
-    base             >= 4.7 && < 5,
+    base             >= 4.8 && < 5,
     bytestring       >= 0.10.4.0,
     sdl2             >= 2.2,
     template-haskell,
@@ -51,7 +51,7 @@
     Haskell2010
 
   if os(windows)
-    cpp-options: -D_SDL_main_h
+    cpp-options: -D_SDL_main_h -DSDL_main_h_
 
 flag example
   description: Build the example executable
