[server][ZabbixAPI] Move definition of the necessary headers to the .h file to avoid a build error in some situations.