Make pkgs build optional