FPGA: fix support for non-Lattice devices