Reorganize thirdparty dir and fix compilation errors. Also swap in uint128 into use on node settings