support relative extends

fixes #75