       {result, _error_code} = System.cmd("make", ["priv/expand.so"], stderr_to_stdout: true)
       IO.binwrite result
     end
+    Mix.Project.build_structure
     :ok
   end
 end

defmodule Mix.Tasks.Compile.Libpostal do
  def run(_) do
    if match? {:win32, _}, :os.type do
      # libpostal does not support Windows unfortunately.
      IO.warn("Windows is not supported.")

    # These are the default files included in the package
    [
      name: :expostal,
      files: ["src", "lib", "mix.exs", "README*", "LICENSE*", "Makefile"],
      maintainers: ["Meng Xuan Xia"],
      licenses: ["MIT"],
      links: %{"GitHub" => "https://github.com/SweetIQ/expostal"}
