added -fPIC compiler option (if on 64-bit)