Fixed unix build
bug #1 Fixed cross compilation on unix build (alquerci)

This PR was merged into the 2.1-dev branch.

Discussion
----------

| Q               | A
| --------------- | ---
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Tests pass?     | yes
| Related tickets |
| License         | GNU GPLv3

Commits
-------

2cec828 Fixed unix build