Fix for installation failure

https://forum.palemoon.org/viewtopic.php?f=37&t=6080

Some distros are not including the /opt dir by default, so the installation fails. The commit made should fix it.