Fixes bug preventing proper building.