complation fixes
Merge pull request #369 from telefonicaid/hardening/make_test_with_release_compilation

compilation fixes