Making shebang paths more flexible for different platforms