fix link error / compile warnings with newer gcc