Revert 4.2 Gallery libs