updated erizoAPI compilation for cleanup
More changes from main branch