Make it compatible with API 15 (4.0.3)

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>