fix build errors add -Wno-error -fno-strict-aliasing