updated autotools abstraction to properly pick up different awk, sed,