Use right types for x86_64 compatibility
Fix linking flags
Replace proprietary fmod with SDL_mixer