Added ifdef to disable VM weak callbacks on OS X.