Added a missing call to SDL_VERSION before SDL_GetWMInfo, which prevented the es_wm_maximize2 function from maximizing the window.
Merge pull request #2 from davidcosborn/master

Starting maximized in Windows
Implement a native file dialog for Mac
Create an autorelease pool for each SDL function call

The SDL_SetCursor() function sometimes calls Cocoa functions
which assume that there is an auto-release pool in place.

We are not sure if there are other SDL functions thay may call
Cocoa functions or allocate NS objects that will need an
auto-release pool, so we will wrap all calls to SDL functions in
an autoreleasepool block.
Merge remote branch 'bjorng/bjorn/mac-file-dialog'
Add debug_info
Use rebar to build instead of make
temp win changes
Minor mac fixes (untested)
Fix warnings about 64 to 32 casts
Remove Makefiles and configure scripts and minor fixes
Update with Windows gcc x86 info
Win32: Copy SDL.dll to priv if found and needed
Windows building: Fix bugs when cl.exe does not exist in path
Fix the previous fix, sigh