Added Mac OS X target
Turned off warnings
Updated to latest Discount. Added more options to the API.