Added state machine to the dependencies.

This is to illustrate that diamonde dependencies are handled correctly.
Here :
pid depends on state machine and PAL.
state machine depends on PAL.

So two modules depend on PAL and it works.