Added fix for web targets not being available on Ubuntu.