apache2: enable shared modules rewrite and substitute

Shared object files are packaged in /usr/lib.