fixed problem with build for ARM platform