Fix Redmine #3417

Compilation fail of verify_environments.c on OSX, fixed by adding
missing parameter `ctx`.
Merge pull request #947 from zzamboni/fix/osx_verify_environments_redmine3417

Fix Redmine #3417