use correct suffixes when using -dynamic-too