Added copying of public headers for build; updated build scripts.