Remove sed from post-build code, due to portability issues between GNU and BSD versions.