Fixing https://github.com/c4rl/renderapi/issues/2