Internalize mptopdf dependency

Fixes the bug related to https://github.com/percyliang/rfig/issues/1, involving mptopdf no longer being distributed with newer Ubuntu versions. The fix is linux-specific, but as the script itself is a bash script I hope this is an ok assumption.