HDFS-5642: temporary hack on pom.xml to speed up native build cycle.
HDFS-5642: add platform mutex support.