Merge pull request #379 from a-chumagin/master

fix prebuild event