Make the build compatible with Mountain Lion

I've to do some changes in the makefile to successfully build Perian on Mountain Lion.
I havn't tested with Mavericks, do you plan to support this OS ? (despite of Apple remove some hooks used by Perian)