update tests
optimize libc and other libraries with -O2