Make AltitudeHold and PathPlanner modules work as optional modules

This address #164. I would appreciate someone testing this on other targets. I tried it on the FlyingF3 and it appeared to work. I only changed the makefile for the FlyingF3 target.