Copy dll after build

code cleanup

binary file fix for windows