added fPIC option for gnucxx