m8: update dependencies, remove old flags

Change-Id: I662699a8d23d9ca5b66214386814d3e4d3db6dd0
(cherry picked from commit 994ed7d496b74b77d179b5f17475334ff13b5a32)