makefiles: osx, add support for .m files + add quicktime framework to >10.6