Fix finding mali library on new BSP image. There are some gross
hacks in here...