preliminary multiplatform build support