fixed rt lib inclusion (for MAC builds)