Add .gitignore and set runtime_library_dirs in setup.py