Support ubifs in platform/build. r=mwu