fixed build errors in lots of places (you're welcome) but still shit wrong with u_long