patch linkstatus, fix macos issue with receiveShadow

sorry, made a mistake in my post on http://www.html5gamedevs.com/topic/5886-receiveshadows-issue-on-mac-os-x/ (shame on me)

here is the correct patch