fix build system for mips, hopefully this fixes weird reported libtool failures too
fix build system for mips, hopefully this fixes weird reported libtool failures too

cention-nazri/libdbi,cention-nazri/libdbi,cention-nazri/libdbi