Fix attribute error and update README to support Mac