remove tolua include
add byte order support