Also include /dev/ttyAMA* in glob patterns for serial port