Slightly cleaner hack for overriding the cocoa window frame class

no compiler warning at least this way :p