added pthread dep
fix configure prefixes