added Dynamic plugin fix and fpic