Update to build package-less modules when BUILD_PACKAGES is set to ON