Added position indepedent code flag for dynamically linked builds.