Fixed compilation failure on some distributions for portmidi and porttime linking.