Added platform dependent defs