frameworks: fix compilation

Change-Id: I2ff5ca811329f6dedbf6af370072dd564edd5bf0