Added Python-based library compilation script.