Added macro to dereference weak variable into a strong local variable