Remove third-party dependencies

Change-Id: I948bc261b9d490be90caa4d03921fc67edeea840