fix #13. update the docs with build instructions on Mac OS and Linux.