Fix 3.6.0 compatibility.

3.6.0 agents are complaining about wrong type returned by strcmp function
taken by ifvarclass.
Merge pull request #381 from pasinskim/master

Fix 3.6.0 compatibility.