When attempting to use on macOS, libtoolize fails. This is due to homebrew specifically installing these style of tools with a g on the front, for "safety".
The rest of the commands work, except for a general Makefile error that, frankly, I don't know enough about these tools to debug properly.
I also threw in an updated shebang - #!/bin/bash -e - as bash tends to be nicer and -e is fail-fast, just in case.
Thanks for the issue Justin!