(non-Haiku) Fix undefined reference to min_filter_to_mag