added source file definitions for osx