Fix build errors on AOKP