added build option WPO for gcc's -fwhole-program