add -fPIC flag to build; it is apparently required on some machines?