fixed bug in netbsd local build script