Workaround phoenix v3 for static libs as well