updates build file.
fix #376