chaplin: don't call unregisterAllRegions if not defined
Merge branch 'master' of https://github.com/iorad/customlibs