Updated build script to copy proper headers, dependent on platform.