Refactoring inclusion method of board ril class

To be fully compliant with cyanogenmod 12