Revert "load main libs during wp"

This reverts commit a3514c5d71cad55021c7c82830f0ee2ba8ed98e9.
Revert "load our libs during pre_get_posts fixes buddy press."

This reverts commit dcb79ce9fb6360b005807f6b57c26a78b1f520f1.