Python3 compatibility

- Use ctypes instead of pipe
- Set python in build time
Merge pull request #22 from changwoo/python3

Python3 migration