Fixing linking problem by forcing -Wl,--no-as-needed LDFLAG