intelliactive: fixed some build bugs