corrected typing mistake
use __unix marco define instead
merged with dev-RP