security/openvas Fix warnings, linker flags