better build process, strip redundant libraries