Fix Maven 'build is platform dependent' warning