Modified build file for windows/BSD