build with better compiler flags