fix stat for x32
get rid of old nice implementation
add more dependencies to make parallel build work
support PIC in gettimeofday