add support for compilation inside attributes