Use system libraries for JPEG
Use system libraries for ZLIB
Use system libraries for OpenAL
Don't call exit()