Took out the includes during the final linking stage since their not used there anyways and got conditional to work for dylib creation