Borrow some functions from arduino.mk to show all build options.

Fixed #191.