Automatic byte-compilation and fix some warnings.