Add platform specific extensions. Close #16