fix solaris 9 stack overflow issue in unit test policy_test