added option to dynamically include grt library or grt source code