New release make target
Fix warnings and usage of assert()