openwrt tweaks

I was getting a segfault every hour or so, this pull request attempts to fix it. Also reverted roundl define removal for MIPSEB.