Configure proxydir in all cases and set autogenerate according to Doctrine recommendations