Fixed #4 - Use __dirname for better support

across ways to install the package