Prepare build system and code for adding ARM assembly optimizations