Bugfix require optimizer detection