Only add "-Wl,--no-as-needed" to XLDFLAGS if building on Ubuntu