Fixed stack overflow error because of two static compile and object comp...

...ile method implemented in Mirahc.

https://github.com/mirah/mirah/issues/250