Revert "add two libs to image for some distros"

This reverts commit 1d968487d142c1ed5d90919475b3f4f260bab016.
not working