add platform dependencies for compiling