update: fix some include guards.
bugfix: add assert test for SafeRelease.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>