build issues, arch type, static libs