bug fix
write Library
support export
Merge pull request #65 from Kouhei-Moriya/LLVMSourceGen

bug fix for test