Fix build crash

Change-Id: I1d8fc2298590c7f5f20f257ad1462768264bac78
http://review.cyanogenmod.org/#/c/30269/3