Fix segfualts with -O3 (gcc 4.8 mmx tests and compiling) on 32 bits systems
Closes #8