Add linking of BasicFilter libraries to prior filter libs

Change-Id: I0969f24a02832e8efd2662da23758865a786faa9
COMP: fix unused variable warning

Still set first pass variable when procedures are disabled to prevent
warning.

Change-Id: I1aa4a0b9077a78abc16def68ad6b65018f385fd9
Merge topic 'SIMPLEITK-379_AddAdditionalResampleProcedure' into next

330a861 COMP: fix unused variable warning
e22351d Add linking of BasicFilter libraries to prior filter libs