Removing porttime from LDFLAGS, portmidi contains porttime.