Revert "Fixed build errors from v1 API."
Revert "Fixed build errors from v1 API."

This reverts commit c31893148e6b3225f11044ec011bd7306debfac1.

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