filthy workaround to make it build on nixos