added -lLHAPDF to linker flags in tests and examples