fixed output length for SP bcrypt
added -fPIC compile option