Fixed compiler error (gcc-4.1.2) in state tests.
Fixed compiler error (gcc-4.1.2) in state tests.

Review: https://reviews.apache.org/r/20627

abudnik/mesos,kaysoky/mesos,andschwa/mesos,reneploetz/mesos,abudnik/mesos,andschwa/mesos,asamerh4/mesos,reneploetz/mesos,zmalik/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,abudnik/mesos,zmalik/mesos,jpeach/mesos,verizonlabs/mesos,craimbert/mesos,asamerh4/mesos,Gilbert88/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,neilconway/mesos,chhsia0/mesos,asamerh4/mesos,jpeach/mesos,craimbert/mesos,chhsia0/mesos,verizonlabs/mesos,chhsia0/mesos,reneploetz/mesos,gsantovena/mesos,jpeach/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,Gilbert88/mesos,jpeach/mesos,reneploetz/mesos,zmalik/mesos,andschwa/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,kaysoky/mesos,craimbert/mesos,neilconway/mesos,Aman-Jain-14/customizedMesos,zmalik/mesos,Gilbert88/mesos,neilconway/mesos,reneploetz/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,verizonlabs/mesos,gsantovena/mesos,chhsia0/mesos,zmalik/mesos,gsantovena/mesos,yuquanshan/customizedMesos,dforsyth/mesos,yuquanshan/customizedMesos,craimbert/mesos,chhsia0/mesos,reneploetz/mesos,chhsia0/mesos,craimbert/mesos,kaysoky/mesos,dforsyth/mesos,abudnik/mesos,neilconway/mesos,abudnik/mesos,dforsyth/mesos,andschwa/mesos,zmalik/mesos,jpeach/mesos,neilconway/mesos,dforsyth/mesos,dforsyth/mesos,dforsyth/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,chhsia0/mesos,asamerh4/mesos,abudnik/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,gsantovena/mesos,asamerh4/mesos,abudnik/mesos,kaysoky/mesos,reneploetz/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,craimbert/mesos,verizonlabs/mesos,jpeach/mesos,gsantovena/mesos,craimbert/mesos,neilconway/mesos,andschwa/mesos,Gilbert88/mesos,verizonlabs/mesos,asamerh4/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,Gilbert88/mesos,andschwa/mesos,jpeach/mesos,gsantovena/mesos,dforsyth/mesos