changed build script to maven (target platform only)