Fix library errors in set_register_value
Merge branch 'master' of https://github.com/icedtrees/mantis