Add library test makefile solutions.

Change-Id: Ibc8df9b0e2342683158936bf011425780df8f02a