Compile both for apm and px4