cmake: added -fPIC flag to Linux builds to avoid relocation error on 64-bit platforms