apache: Fixed some warnings reported during board compilation